import java.util.Scanner;
public class Two {
	public static void main(String[] args){
	System.out.println("Please selsct the action that you want to perform:");
	System.out.println("1.for summation");
	System.out.println("2.for poor");
	System.out.println("3.for quadrature");
	System.out.println("4.for business");
	System.out.println("5.for remainder");
	System.out.println("Q.drop out");
	Scanner sc = new Scanner(System.in);
	String number = sc.next();
	switch(number){
	case"1":
	System.out.println("Please enter the first number:");
	double num1 = sc.nextDouble();
	System.out.println("Please enter the second number:");
	double num2 = sc.nextDouble();
	System.out.println("The summation:"+(num1+num2));
	break;
	case"2":
	System.out.println("Please enter the first number:");
	double num3 = sc.nextDouble();
	System.out.println("Please enter the second number:");
	double num4 = sc.nextDouble();
	System.out.println("The poor:"+(num3-num4));
	break;
	case"3":
	System.out.println("Please enter the first number:");
	double num5 = sc.nextDouble();
	System.out.println("Please enter the second number:");
	double num6 = sc.nextDouble();
	System.out.println("The quadrature:"+(num5*num6));
	break;
	case"4":
	System.out.println("Please enter the first number:");
	double num7 = sc.nextDouble();
	System.out.println("Please enter the second number:");
	double num8 = sc.nextDouble();
	System.out.println("The business:"+(num7/num8));
	break;
	case"5":
	System.out.println("Please enter the first number:");
	double num9 = sc.nextDouble();
	System.out.println("Please enter the second number:");
	double num10 = sc.nextDouble();
	System.out.println("The remainder:"+(num9%num10));
	break;
	case"Q":
	break;
	}
	}
}